*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */
body{
    font-family:'Segoe UI',sans-serif;
    background:linear-gradient(135deg,#e8f5e9,#f1f8e9,#ffffff);
    color:#333;
}

/* HEADER */
header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(15px);
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
}

/* LOGO */
.logo img{
    border-radius:20px;

    transition:.4s;
}

.logo img:hover{
    transform:scale(1.05);
}


.logo span{
    font-size:28px;
    font-weight:bold;
    color:#2e7d32;
}

/* NAV */
nav a{
    text-decoration:none;
    margin-left:25px;
    color:#2e7d32;
    font-weight:bold;
    padding:10px 18px;
    border-radius:30px;
    transition:0.4s;
}

/* HOVER NAV */
nav a:hover{
    background:#43a047;
    color:white;
}

/* CONTENEDOR */
.contenedor{
    width:92%;
    margin:50px auto;
    display:flex;
    background:white;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

/* FORMULARIO */
.formulario{
    width:60%;
    padding:60px;
}

/* TITULO */
.formulario h1{
    font-size:55px;
    color:#2e7d32;
    margin-bottom:10px;
}

/* TEXTO */
.texto{
    color:#666;
    font-size:18px;
    margin-bottom:30px;
}

/* FIELDSET */
fieldset{
    border:none;
    background:#f9fff9;
    padding:30px;
    border-radius:25px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

/* LEGEND */
legend{
    color:#2e7d32;
    font-weight:bold;
    font-size:22px;
    padding:10px 15px;
}

/* FILA */
.fila{
    display:flex;
    gap:20px;
    margin-bottom:20px;
}

/* GRUPO */
.grupo{
    width:100%;
    display:flex;
    flex-direction:column;
}

/* LABEL */
label{
    margin-bottom:8px;
    font-weight:bold;
    color:#2e7d32;
}

/* INPUTS */
input,
textarea{
    padding:15px;
    border:2px solid #dcedc8;
    border-radius:15px;
    font-size:15px;
    transition:0.4s;
}

/* FOCUS */
input:focus,
textarea:focus{
    border-color:#43a047;
    box-shadow:0 0 15px rgba(67,160,71,.3);
}

/* TEXTAREA */
textarea{
    height:150px;
    resize:none;
}

/* CHECKBOX */
.check{
    margin:25px 0;
    font-size:15px;
}

/* BOTON */
button{
    width:100%;
    padding:18px;
    border:none;
    border-radius:15px;
    background:linear-gradient(45deg,#66bb6a,#2e7d32);
    color:white;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:0.4s;
}

/* HOVER BOTON */
button:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(46,125,50,0.4);
}

/* IMAGEN */
.imagen-contacto{
    width:40%;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(180deg,#81c784,#43a047);
}

/* IMAGEN */
.imagen-contacto img{
    width:85%;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.25);
    transition:0.4s;
}

/* HOVER IMAGEN */
.imagen-contacto img:hover{
    transform:scale(1.08);
}

/* OVERLAY */
.overlay{
    position:absolute;
    top:30px;
    left:20px;
    right:20px;
    text-align:center;
    background:rgba(255,255,255,0.85);
    padding:20px;
    border-radius:20px;
}

.overlay h2{
    color:#1b5e20;
    margin-bottom:10px;
    font-size:30px;
}

.overlay p{
    color:#444;
}

/* INFORMACION */
.info{
    width:92%;
    margin:40px auto;
    background:white;
    padding:40px;
    border-radius:25px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* TITULO INFO */
.info h2{
    color:#2e7d32;
    margin-bottom:20px;
    font-size:35px;
}

/* LISTA */
.info ul{
    list-style:none;
}

.info li{
    background:#f1f8e9;
    margin:12px 0;
    padding:15px;
    border-left:6px solid #43a047;
    border-radius:12px;
    transition:0.3s;
}

.info li:hover{
    transform:translateX(10px);
}

/* RESPONSIVE */
@media(max-width:900px){

    header{
        flex-direction:column;
        gap:15px;
        padding:20px;
    }

    .contenedor{
        flex-direction:column;
    }

    .formulario,
    .imagen-contacto{
        width:100%;
    }

    .fila{
        flex-direction:column;
    }

    .formulario{
        padding:30px;
    }

    .formulario h1{
        font-size:40px;
    }
}